-- GENERATED SPELL FOR [Stillpine Hunter] --


function spell0_17439(pUnit, Event) --@Shoot,n/a--
pUnit:FullCastSpellOnTarget(6660,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_17439', 577, 1)
end

function Sorts_17439(pUnit, Event)
local choix_sorts_17439 = math.random(0, 0)
if choix_sorts_17439 == 0 then
pUnit:RegisterEvent('spell0_17439', 1, 1)
end
end

function mob17439_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_17439', math.random(1500, 3000), 1)
end

function mob17439_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob17439_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob17439_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(17439, 1, 'mob17439_Action')
RegisterUnitEvent(17439, 2, 'mob17439_Leave')
RegisterUnitEvent(17439, 3, 'mob17439_Kill')
RegisterUnitEvent(17439, 4, 'mob17439_Die')
